package com.aliyun.oss;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(OssValue.class)
public class AliOSSAutoConfiguration {
    @Bean
    public OssInputUtil ossInputUtil(OssValue ossValue){
        OssInputUtil os = new OssInputUtil();
        os.setOssValue(ossValue);
        return os;
    }
}
